<div class="col-md-12">
 
  <h2><%= @post.title %></h2>
  <p><%= markdown(@post.content).html_safe %></p>
  <hr/>
   <div class="group">
    <%= link_to("编辑", edit_post_path(@post), class: "btn btn-sm btn-default")%>
    <%= link_to("删除", post_path(@post), class: "btn btn-sm btn-default", method: :delete, data: { confirm: "确定删除" } )%>
  </div>
</div>